package com.etc.hotel.service.imp;


import com.etc.hotel.dao.HotelMapper;
import com.etc.hotel.service.HotelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HotelServiceImpl implements HotelService {

    @Autowired
    private HotelMapper hotelMapper;

    @Override
    public List<Map<String, Object>> list() {
        return hotelMapper.list();
    }
}
